import request from '@/utils/request'

// 首页数据
export function home_data(query) {
  return request({
    url: '/system/bootstrap/list',
    method: 'get',
    params: query
  })
}

// 我的消息
export function notice_list(query) {
  return request({
    url: '/system/notice/list',
    method: 'get',
    params: query
  })
}

// 我的待办
export function myTaskList(params) {
  return request({
    url: '/activitiservice/jeecg-boot/activiti/task/getMyAllTaskList',
    method: 'get',
    params
  })
}

// 首页上方工作量 处理时长
export function getSummaryInfo(params) {
  return request({
    url: '/activitiservice/jeecg-boot/activiti/task/getSummaryInfo',
    method: 'get',
    params
  })
}

// 首页更多按钮 权限验证
export function checkAuth() {
  return request({
    url: '/system/bootstrap/checkAuth',
    method: 'get'
  })
}


